package com.qidi.test;

import com.qidi.mapper.OrderItemDao;
import com.qidi.mapper.impl.OrderItemimplDao;
import com.qidi.pojo.OrderItem;
import org.junit.Test;

import java.math.BigDecimal;

/**
 * @author zhouXinBin
 * @create 2020-09-04-12:37
 */
public class OrderItemimplTestDao {

    @Test
    public void saveOrderItem() {
        OrderItemDao orderItemDao= new OrderItemimplDao();
        orderItemDao.saveOrderItem(new OrderItem(null,"春宫图",1,new BigDecimal(88),new BigDecimal(88),"123456"));
        orderItemDao.saveOrderItem(new OrderItem(null,"java",1,new BigDecimal(99),new BigDecimal(99),"123456"));
        orderItemDao.saveOrderItem(new OrderItem(null,"javascript",1,new BigDecimal(66),new BigDecimal(66),"123456"));
    }
}